import request from "@/utils/request";

export function areaList(data) {
  return request({
    url: "/api/area/list",
    method: "post",
    data,
  });
} 


export function areaAdd(data) {
  return request({
    url: "/api/area/add",
    method: "post",
    data,
  });
} 


export function areaUpdateName(data) {
  return request({
    url: "/api/area/updatename",
    method: "post",
    data,
  });
} 


export function areaDel(data) {
  return request({
    url: "/api/area/del",
    method: "post",
    data,
  });
} 

export function areaInfo(data) {
  return request({
    url: "/api/area/info",
    method: "post",
    data,
  });
} 
